<html xmlns:javaee="http://java.sun.com/xml/ns/javaee" xmlns:fo="http://www.w3.org/1999/XSL/Format">
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>event
          (GoogleMap JSP Tag Library)
        </title>
<meta name="keywords" content="$title">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
</head>
<script>
            function asd()
            {
            parent.document.title="event (GoogleMap JSP Tag Library)";
            }
          </script>
<body bgcolor="white" onload="asd();">
<a name="navbar_top"></a>
<table border="0" width="100%" cellpadding="1" cellspacing="0">
<tr>
<td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><a NAME="navbar_top_firstrow"></a>
<table BORDER="0" CELLPADDING="0" CELLSPACING="3">
<tr ALIGN="center" VALIGN="top">
<td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &nbsp;<a href="../overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a>&nbsp;</td><td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &nbsp;<a href="tld-summary.html"><font CLASS="NavBarFont1"><b>Library</b></font></a>&nbsp;</td><td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<font CLASS="NavBarFont1Rev">&nbsp;Tag&nbsp;</font>&nbsp;</td><td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &nbsp;<a HREF="../help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a>&nbsp;</td>
</tr>
</table>
</td><td ALIGN="right" VALIGN="top" ROWSPAN="3"><em></em></td>
</tr>
<tr>
<td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2"></font></td><td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
                &nbsp;<a HREF="../index.html" TARGET="_top"><b>FRAMES</b></a>&nbsp;
                &nbsp;<a href="event.html" target="_top"><b>NO FRAMES</b></a>&nbsp;
                <script></script>
<noscript>
<a HREF="../alltags-noframe.html" TARGET=""><b>All Tags</b></a>
</noscript>
</font></td>
</tr>
</table>
<hr>
<h2>
<font size="-1">GoogleMaps JSP Tag Library</font>
<br>
            Tag event</h2>
<hr><p>Adds an event listener to the parent tag. This tag can only effectively be a child of a &lt;googlemaps:map> or &lt;googlemaps:marker> tag. If a child of any other tag, this tag will register itself with the next highest instance of &lt;googlemaps:map> or &lt;googlemaps:marker>. When a map or marker with a registered event is triggered, the URL is called additional parameters based upon the parent component type and the event that is triggered. The complete list is as follows:</p> <ul> <li>&lt;googlemaps:box></li> <ul> <li>click<br/>Triggers when the box is clicked on.</li> <ul> <li>component<br/>The box's id.</li> <li>map<br/>The parent map's id.</li> <li>event<br/>The event type that was triggered.</li> <li>type<br/>Returns 'box'.</li> </ul> <li>dblclick<br/>Triggers when the box is double-clicked on.</li> <ul> <li>component<br/>The box's id.</li> <li>map<br/>The parent map's id.</li> <li>event<br/>The event type that was triggered.</li> <li>type<br/>Returns 'box'.</li> </ul> </ul> <li>&lt;googlemaps:circle></li> <ul> <li>click<br/>Triggers when the circle is clicked on.</li> <ul> <li>component<br/>The circle's id.</li> <li>map<br/>The parent map's id.</li> <li>event<br/>The event type that was triggered.</li> <li>type<br/>Returns 'circle'.</li> </ul> <li>dblclick<br/>Triggers when the circle is double-clicked on.</li> <ul> <li>component<br/>The circle's id.</li> <li>map<br/>The parent map's id.</li> <li>event<br/>The event type that was triggered.</li> <li>type<br/>Returns 'circle'.</li> </ul> </ul> <li>&lt;googlemaps:marker></li> <ul> <li>click<br/>Triggers when the marker is clicked on.</li> <ul> <li>component<br/>The marker's id.</li> <li>map<br/>The parent map's id.</li> <li>event<br/>The event type that was triggered.</li> <li>type<br/>Returns 'marker'.</li> </ul> <li>dblclick<br/>Triggers when the marker is double-clicked on.</li> <ul> <li>component<br/>The marker's id.</li> <li>map<br/>The parent map's id.</li> <li>event<br/>The event type that was triggered.</li> <li>type<br/>Returns 'marker'.</li> </ul> <li>dragstart<br/>Triggers when a draggable marker is initially dragged.</li> <ul> <li>component<br/>The marker's id.</li> <li>map<br/>The parent map's id.</li> <li>event<br/>The event type that was triggered.</li> <li>type<br/>Returns 'marker'.</li> <li>longitude<br/>The longitude where the drag was initiated.</li> <li>latitude<br/>The latitude where the drag was initiated.</li> </ul> <li>dragend<br/>Triggers when a draggable marker is dropped.</li> <ul> <li>component<br/>The marker's id.</li> <li>map<br/>The parent map's id.</li> <li>event<br/>The event type that was triggered.</li> <li>type<br/>Returns 'marker'.</li> <li>longitude<br/>The longitude where the marker was dropped.</li> <li>latitude<br/>The latitude where the marker was dropped.</li> </ul> </ul> <li>&lt;googlemaps:polyline></li> <ul> <li>click<br/>Triggers when the polyline is clicked on.</li> <ul> <li>component<br/>The polyline's id.</li> <li>map<br/>The parent map's id.</li> <li>event<br/>The event type that was triggered.</li> <li>type<br/>Returns 'polyline'.</li> </ul> <li>dblclick<br/>Triggers when the polyline is double-clicked on.</li> <ul> <li>component<br/>The polyline's id.</li> <li>map<br/>The parent map's id.</li> <li>event<br/>The event type that was triggered.</li> <li>type<br/>Returns 'polyline'.</li> </ul> </ul> <li>&lt;googlemaps:polygon></li> <ul> <li>click<br/>Triggers when the polygon is clicked on.</li> <ul> <li>component<br/>The polygon's id.</li> <li>map<br/>The parent map's id.</li> <li>event<br/>The event type that was triggered.</li> <li>type<br/>Returns 'polygon'.</li> </ul> <li>dblclick<br/>Triggers when the polygon is double-clicked on.</li> <ul> <li>component<br/>The polygon's id.</li> <li>map<br/>The parent map's id.</li> <li>event<br/>The event type that was triggered.</li> <li>type<br/>Returns 'polygon'.</li> </ul> </ul> <li>&lt;googlemaps:map></li> <ul> <li>click<br/>Triggers when the map is clicked on.</li> <ul> <li>longitude<br/>The longitude where the click occurred.</li> <li>latitude<br/>The latitude where the click occurred.</li> <li>map<br/>The parent map's id.</li> <li>event<br/>The event type that was triggered.</li> </ul> <li>dblclick<br/>Triggers when the map is double-clicked on.</li> <ul> <li>longitude<br/>The longitude where the click occurred.</li> <li>latitude<br/>The latitude where the click occurred.</li> <li>map<br/>The parent map's id.</li> <li>event<br/>The event type that was triggered.</li> </ul> <li>moveend<br/>Triggers when the user has completed moving the map.</li> <ul> <li>longitude<br/>The longitude of the new centerpoint for the map.</li> <li>latitude<br/>The latitude of the new centerpoint for the map.</li> <li>map<br/>The parent map's id.</li> <li>event<br/>The event type that was triggered.</li> </ul> <li>zoom<br/>Triggers when the user changes the zoom level.</li> <ul> <li>zoom<br/>The new zoom level of the map.</li> <li>map<br/>The parent map's id.</li> <li>event<br/>The event type that was triggered.</li> </ul> <li>maptypechanged</li> <ul> <li>type<br/>Returns the new map type (map, satellite or hybrid).</li> <li>map<br/>The parent map's id.</li> <li>event<br/>The event type that was triggered.</li> </ul> </ul> </ul> <p>The intended use is to have the event trigger a request to either a servlet or JSP page. This page would retrieve the map from the session using the map id (passed as map parameter) making the required changes, additions, etc. and then pass the response back to the requesting page or another page that displays that map, which would then render the map with the changes.</p> <p>For this methodology to work properly, the parent map must have a scope of type site, so the receiving entity can locate the map from the session.</p><br>
<p></p>
<hr>
<table border="1" cellpadding="3" cellspacing="0" width="100%">
<tr bgcolor="#CCCCFF" class="TableHeadingColor">
<td colspan="2"><font size="+2"><b>Tag Information</b></font></td>
</tr>
<tr>
<td>Tag Class</td><td>com.lamatek.tags.google.GoogleMapEventTag</td>
</tr>
<tr>
<td>TagExtraInfo Class</td><td><i>None</i></td>
</tr>
<tr>
<td>Body Content</td><td>empty</td>
</tr>
<tr>
<td>Display Name</td><td>GoogleMapEventTag</td>
</tr>
</table>
<br>
<p></p>
<table border="1" cellpadding="3" cellspacing="0" width="100%">
<tr bgcolor="#CCCCFF" class="TableHeadingColor">
<td colspan="5"><font size="+2"><b>Attributes</b></font></td>
</tr>
<tr>
<td><b>Name</b></td><td><b>Required</b></td><td><b>Request-time</b></td><td><b>Type</b></td><td><b>Description</b></td>
</tr>
<tr valign="top">
<td>action</td><td>true</td><td>true</td><td><code>java.lang.String</code></td><td><p>The javascript event that triggers this URL.</p></td>
</tr>
<tr valign="top">
<td>url</td><td>true</td><td>true</td><td><code>java.lang.String</code></td><td>The URL that is called when the event is triggered. The URL is appended with parameters based on the component and event type triggered.</td>
</tr>
<tr valign="top">
<td>asynchronous</td><td>false</td><td>true</td><td><code>boolean</code></td><td>Denotes this action as asynchronous, if true, or synchronous, if false. If false, the request will forward to the specified URL. If true, the request will be made asynchronously. Typically speaking if your URL only needs to know about the data, you can set this to true. If your request needs to render special changes to the map, or redirect to another page, set this to false.</td>
</tr>
</table>
<br>
<p></p>
<table border="1" cellpadding="3" cellspacing="0" width="100%">
<tr bgcolor="#CCCCFF" class="TableHeadingColor">
<td colspan="5"><font size="+2"><b>Variables</b></font></td>
</tr>
<td colspan="2"><i>No Variables Defined.</i></td>
</table>
<br>
<p></p>
<a name="navbar_bottom"></a>
<table border="0" width="100%" cellpadding="1" cellspacing="0">
<tr>
<td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><a NAME="navbar_bottom_firstrow"></a>
<table BORDER="0" CELLPADDING="0" CELLSPACING="3">
<tr ALIGN="center" VALIGN="top">
<td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &nbsp;<a href="../overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a>&nbsp;</td><td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &nbsp;<a href="tld-summary.html"><font CLASS="NavBarFont1"><b>Library</b></font></a>&nbsp;</td><td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<font CLASS="NavBarFont1Rev">&nbsp;Tag&nbsp;</font>&nbsp;</td><td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &nbsp;<a HREF="../help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a>&nbsp;</td>
</tr>
</table>
</td><td ALIGN="right" VALIGN="top" ROWSPAN="3"><em></em></td>
</tr>
<tr>
<td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2"></font></td><td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
                &nbsp;<a HREF="../index.html" TARGET="_top"><b>FRAMES</b></a>&nbsp;
                &nbsp;<a href="event.html" target="_top"><b>NO FRAMES</b></a>&nbsp;
                <script></script>
<noscript>
<a HREF="../alltags-noframe.html" TARGET=""><b>All Tags</b></a>
</noscript>
</font></td>
</tr>
</table>
<hr>
<small><i>
            Output Generated by 
            <a href="http://taglibrarydoc.dev.java.net/" target="_blank">Tag Library Documentation Generator</a>.
            Java, JSP, and JavaServer Pages are trademarks or 
            registered trademarks of Sun Microsystems, Inc. in the US and other
            countries.  Copyright 2002-4 Sun Microsystems, Inc.
            4150 Network Circle
            Santa Clara, CA 95054, U.S.A.
            All Rights Reserved. 
            </i></small>
</body>
</html>
